<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GimpScanner: GIMP 3 Config Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GIMP 3 Config Library Reference Manual">
<link rel="up" href="pt01.html" title="Part I. GIMP Config Library">
<link rel="prev" href="GimpConfigWriter.html" title="GimpConfigWriter">
<link rel="next" href="GimpColorConfig.html" title="GimpColorConfig">
<meta name="generator" content="GTK-Doc V1.33.0 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GimpScanner.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GimpScanner.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="pt01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GimpConfigWriter.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GimpColorConfig.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GimpScanner"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GimpScanner.top_of_page"></a>GimpScanner</span></h2>
<p>GimpScanner — A wrapper around <span class="type">GScanner</span> with some convenience API.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GimpScanner.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GimpScanner.html" title="GimpScanner"><span class="returnvalue">GimpScanner</span></a> *
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()">gimp_scanner_new_file</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GimpScanner.html" title="GimpScanner"><span class="returnvalue">GimpScanner</span></a> *
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-new-stream" title="gimp_scanner_new_stream ()">gimp_scanner_new_stream</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GimpScanner.html" title="GimpScanner"><span class="returnvalue">GimpScanner</span></a> *
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()">gimp_scanner_new_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GimpScanner.html" title="GimpScanner"><span class="returnvalue">GimpScanner</span></a> *
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-ref" title="gimp_scanner_ref ()">gimp_scanner_ref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-unref" title="gimp_scanner_unref ()">gimp_scanner_unref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-parse-token" title="gimp_scanner_parse_token ()">gimp_scanner_parse_token</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-parse-identifier" title="gimp_scanner_parse_identifier ()">gimp_scanner_parse_identifier</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-parse-string" title="gimp_scanner_parse_string ()">gimp_scanner_parse_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-parse-string-no-validate" title="gimp_scanner_parse_string_no_validate ()">gimp_scanner_parse_string_no_validate</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-parse-data" title="gimp_scanner_parse_data ()">gimp_scanner_parse_data</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-parse-int" title="gimp_scanner_parse_int ()">gimp_scanner_parse_int</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-parse-int64" title="gimp_scanner_parse_int64 ()">gimp_scanner_parse_int64</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-parse-float" title="gimp_scanner_parse_float ()">gimp_scanner_parse_float</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-parse-boolean" title="gimp_scanner_parse_boolean ()">gimp_scanner_parse_boolean</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-parse-color" title="gimp_scanner_parse_color ()">gimp_scanner_parse_color</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpScanner.html#gimp-scanner-parse-matrix2" title="gimp_scanner_parse_matrix2 ()">gimp_scanner_parse_matrix2</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GimpScanner.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/local/head/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
    <span class="lineart">╰──</span> GimpScanner
</pre>
</div>
<div class="refsect1">
<a name="GimpScanner.description"></a><h2>Description</h2>
<p>A wrapper around <span class="type">GScanner</span> with some convenience API.</p>
</div>
<div class="refsect1">
<a name="GimpScanner.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gimp-scanner-new-file"></a><h3>gimp_scanner_new_file ()</h3>
<pre class="programlisting"><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="returnvalue">GimpScanner</span></a> *
gimp_scanner_new_file (<em class="parameter"><code><span class="type">GFile</span> *file</code></em>,
                       <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<div class="refsect3">
<a name="gimp-scanner-new-file.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>file</p></td>
<td class="parameter_description"><p>a <span class="type">GFile</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-scanner-new-file.returns"></a><h4>Returns</h4>
<p>The new <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-scanner-new-stream"></a><h3>gimp_scanner_new_stream ()</h3>
<pre class="programlisting"><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="returnvalue">GimpScanner</span></a> *
gimp_scanner_new_stream (<em class="parameter"><code><span class="type">GInputStream</span> *input</code></em>,
                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<div class="refsect3">
<a name="gimp-scanner-new-stream.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>input</p></td>
<td class="parameter_description"><p>a <span class="type">GInputStream</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-scanner-new-stream.returns"></a><h4>Returns</h4>
<p>The new <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-scanner-new-string"></a><h3>gimp_scanner_new_string ()</h3>
<pre class="programlisting"><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="returnvalue">GimpScanner</span></a> *
gimp_scanner_new_string (<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
                         <em class="parameter"><code><span class="type">gint</span> text_len</code></em>,
                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<div class="refsect3">
<a name="gimp-scanner-new-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>text</p></td>
<td class="parameter_description"><p>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=text_len]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>text_len</p></td>
<td class="parameter_description"><p>The length of <em class="parameter"><code>text</code></em>
, or -1 if NULL-terminated</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-scanner-new-string.returns"></a><h4>Returns</h4>
<p>The new <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-scanner-ref"></a><h3>gimp_scanner_ref ()</h3>
<pre class="programlisting"><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="returnvalue">GimpScanner</span></a> *
gimp_scanner_ref (<em class="parameter"><code><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> *scanner</code></em>);</pre>
<p>Adds a reference to a <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a>.</p>
<div class="refsect3">
<a name="gimp-scanner-ref.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>scanner</p></td>
<td class="parameter_description"><p><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> to ref</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-scanner-ref.returns"></a><h4>Returns</h4>
<p> the same <em class="parameter"><code>scanner</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-scanner-unref"></a><h3>gimp_scanner_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_scanner_unref (<em class="parameter"><code><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> *scanner</code></em>);</pre>
<p>Unref a <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a>. If the reference count drops to zero, the
scanner is freed.</p>
<div class="refsect3">
<a name="gimp-scanner-unref.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>scanner</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> created by <a class="link" href="GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or
<a class="link" href="GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-scanner-parse-token"></a><h3>gimp_scanner_parse_token ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_scanner_parse_token (<em class="parameter"><code><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> *scanner</code></em>,
                          <em class="parameter"><code><span class="type">GTokenType</span> token</code></em>);</pre>
<div class="refsect3">
<a name="gimp-scanner-parse-token.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>scanner</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> created by <a class="link" href="GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or
<a class="link" href="GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>token</p></td>
<td class="parameter_description"><p>the <span class="type">GTokenType</span> expected as next token.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-scanner-parse-token.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the next token is <em class="parameter"><code>token</code></em>
, <code class="literal">FALSE</code> otherwise.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-scanner-parse-identifier"></a><h3>gimp_scanner_parse_identifier ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_scanner_parse_identifier (<em class="parameter"><code><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> *scanner</code></em>,
                               <em class="parameter"><code>const <span class="type">gchar</span> *identifier</code></em>);</pre>
<div class="refsect3">
<a name="gimp-scanner-parse-identifier.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>scanner</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> created by <a class="link" href="GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or
<a class="link" href="GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>identifier</p></td>
<td class="parameter_description"><p>the expected identifier. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-scanner-parse-identifier.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the next token is an identifier and if its
value matches <em class="parameter"><code>identifier</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-scanner-parse-string"></a><h3>gimp_scanner_parse_string ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_scanner_parse_string (<em class="parameter"><code><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> *scanner</code></em>,
                           <em class="parameter"><code><span class="type">gchar</span> **dest</code></em>);</pre>
<div class="refsect3">
<a name="gimp-scanner-parse-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>scanner</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> created by <a class="link" href="GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or
<a class="link" href="GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>Return location for the parsed string. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-scanner-parse-string.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> on success</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-scanner-parse-string-no-validate"></a><h3>gimp_scanner_parse_string_no_validate ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_scanner_parse_string_no_validate (<em class="parameter"><code><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> *scanner</code></em>,
                                       <em class="parameter"><code><span class="type">gchar</span> **dest</code></em>);</pre>
<div class="refsect3">
<a name="gimp-scanner-parse-string-no-validate.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>scanner</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> created by <a class="link" href="GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or
<a class="link" href="GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>Return location for the parsed string. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-scanner-parse-string-no-validate.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> on success</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-scanner-parse-data"></a><h3>gimp_scanner_parse_data ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_scanner_parse_data (<em class="parameter"><code><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> *scanner</code></em>,
                         <em class="parameter"><code><span class="type">gint</span> length</code></em>,
                         <em class="parameter"><code><span class="type">guint8</span> **dest</code></em>);</pre>
<div class="refsect3">
<a name="gimp-scanner-parse-data.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>scanner</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> created by <a class="link" href="GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or
<a class="link" href="GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>length</p></td>
<td class="parameter_description"><p>Length of the data to parse</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>Return location for the parsed data. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-scanner-parse-data.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> on success</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-scanner-parse-int"></a><h3>gimp_scanner_parse_int ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_scanner_parse_int (<em class="parameter"><code><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> *scanner</code></em>,
                        <em class="parameter"><code><span class="type">gint</span> *dest</code></em>);</pre>
<div class="refsect3">
<a name="gimp-scanner-parse-int.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>scanner</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> created by <a class="link" href="GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or
<a class="link" href="GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>Return location for the parsed integer. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-scanner-parse-int.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> on success</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-scanner-parse-int64"></a><h3>gimp_scanner_parse_int64 ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_scanner_parse_int64 (<em class="parameter"><code><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> *scanner</code></em>,
                          <em class="parameter"><code><span class="type">gint64</span> *dest</code></em>);</pre>
<div class="refsect3">
<a name="gimp-scanner-parse-int64.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>scanner</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> created by <a class="link" href="GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or
<a class="link" href="GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>Return location for the parsed integer. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-scanner-parse-int64.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> on success</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-8.html#api-index-2.8">2.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-scanner-parse-float"></a><h3>gimp_scanner_parse_float ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_scanner_parse_float (<em class="parameter"><code><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> *scanner</code></em>,
                          <em class="parameter"><code><span class="type">gdouble</span> *dest</code></em>);</pre>
<div class="refsect3">
<a name="gimp-scanner-parse-float.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>scanner</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> created by <a class="link" href="GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or
<a class="link" href="GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>Return location for the parsed float. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-scanner-parse-float.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> on success</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-scanner-parse-boolean"></a><h3>gimp_scanner_parse_boolean ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_scanner_parse_boolean (<em class="parameter"><code><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> *scanner</code></em>,
                            <em class="parameter"><code><span class="type">gboolean</span> *dest</code></em>);</pre>
<div class="refsect3">
<a name="gimp-scanner-parse-boolean.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>scanner</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> created by <a class="link" href="GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or
<a class="link" href="GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>Return location for the parsed boolean. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-scanner-parse-boolean.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> on success</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-scanner-parse-color"></a><h3>gimp_scanner_parse_color ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_scanner_parse_color (<em class="parameter"><code><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> *scanner</code></em>,
                          <em class="parameter"><code><a href="../html/libgimpcolor3-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *dest</code></em>);</pre>
<div class="refsect3">
<a name="gimp-scanner-parse-color.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>scanner</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> created by <a class="link" href="GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or
<a class="link" href="GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>Pointer to a color to store the result. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-scanner-parse-color.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> on success</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-scanner-parse-matrix2"></a><h3>gimp_scanner_parse_matrix2 ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_scanner_parse_matrix2 (<em class="parameter"><code><a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> *scanner</code></em>,
                            <em class="parameter"><code><a href="../html/libgimpmath3-GimpMatrix.html#GimpMatrix2"><span class="type">GimpMatrix2</span></a> *dest</code></em>);</pre>
<div class="refsect3">
<a name="gimp-scanner-parse-matrix2.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>scanner</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpScanner.html" title="GimpScanner"><span class="type">GimpScanner</span></a> created by <a class="link" href="GimpScanner.html#gimp-scanner-new-file" title="gimp_scanner_new_file ()"><code class="function">gimp_scanner_new_file()</code></a> or
<a class="link" href="GimpScanner.html#gimp-scanner-new-string" title="gimp_scanner_new_string ()"><code class="function">gimp_scanner_new_string()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>Pointer to a matrix to store the result</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-scanner-parse-matrix2.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> on success</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.33.0</div>
</body>
</html>